package com.qiyuesuo.server.PO;

import java.util.Date;

/**
 * 文件信息
 *
 * @author s77
 * @create 2020-4月-01 11:49
 */
public class FileInfo {
    private String name;//文件名 UUID
    private long size;//文件大小
    private String type;//文件类型 txt zip等
    private String originalName;//原始文件名
    private Date creationTime;//创建时间
    private String directoryAddress;//文件保存目录
    private String digitalEnvelope;//文件加密数字信封

    @Override
    public String toString() {
        return "FileInfo{" +
                "name='" + name + '\'' +
                ", size=" + size +
                ", type='" + type + '\'' +
                ", originalName='" + originalName + '\'' +
                ", creationTime=" + creationTime +
                ", directoryAddress='" + directoryAddress + '\'' +
                ", digitalEnvelope='" + digitalEnvelope + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getDirectoryAddress() {
        return directoryAddress;
    }

    public void setDirectoryAddress(String directoryAddress) {
        this.directoryAddress = directoryAddress;
    }

    public String getDigitalEnvelope() {
        return digitalEnvelope;
    }

    public void setDigitalEnvelope(String digitalEnvelope) {
        this.digitalEnvelope = digitalEnvelope;
    }
}
